<!DOCTYPE html>
<html lang="zh-CN">
	<head>
		<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<title>页面提示</title>
		<style type="text/css">
		*{ padding: 0; margin: 0; }
		body{ background: #fff; font-family: '微软雅黑'; color: #333; font-size: 16px; }
		.system-message{ padding: 24px 48px; }
		.system-message h1{ font-size: 100px; font-weight: normal; line-height: 120px; margin-bottom: 12px; }
		.system-message .jump{ padding-top: 10px}
		.system-message .jump a{ color: #333;}
		.system-message .success,.system-message .error{ line-height: 1.8em; font-size: 36px }
		.system-message .detail{ font-size: 12px; line-height: 20px; margin-top: 12px; display:none}
		</style>
	</head>
	<body>
		<div class="system-message">
			<h1>:)</h1>
			<p class="success">{$str}</p>
			<p class="jump">系统将在 <span style="color:blue;font-weight:bold" id='sec'>{$wait}</span> 秒后自动关闭，如果不想等待,直接点击 <a href="{$url}">这里</a> 关闭</p>
		</div>
	</body>
	<script type="text/javascript"> 
	function refresh(){
		var sec;
		sec = document.getElementById('sec').innerText;
		sec = (sec >1) ? (sec - 1) : 0;
		document.getElementById('sec').innerText = sec;
		if (sec<=0)
			location.href = "{$url}"; 
	} 
	setInterval("refresh()",1000);
	</script>
</html>